]> dgit.raspbian.org Git - gnome-shell.git/commit
screenshot: Move HAVE_RECORDER check into screencast service
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 19 Oct 2022 10:43:29 +0000 (12:43 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 4 Nov 2022 09:51:20 +0000 (09:51 +0000)
commitf266c2ca1540357a526026b0d60e64a7c92bac74
treee0f14ce44e712239d02ad596187a930c140ef913
parentcff56d4b03828c3d0c28868c4d10ff70339a7bfb
screenshot: Move HAVE_RECORDER check into screencast service

Some gstreamer plugins require a connection to the display server,
so if we end up initializing gstreamer before we are ourselves
fully initialized, we may end up with a locked compositor.

Avoid this by moving the runtime recorder check into the screencast
D-Bus service, so that all gstreamer calls happen out of process.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5710

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2519>
data/dbus-interfaces/org.gnome.Shell.Screencast.xml
js/dbusServices/screencast/main.js
js/dbusServices/screencast/screencastService.js
js/misc/config.js.in
js/ui/screenshot.js